<template>
    <div class="login-page">
        <Welcome @onChange="isShow = false"  v-if="isShow"/>
        <Login v-else/>
    </div>
</template>
<script setup>
import { ref } from "vue";
    import Login from "./Login.vue";
    import Welcome from "./Welcome.vue";
    let isShow = ref(true)

</script>
<style lang="less" scoped>
    .login-page {
        display: block;
        position: relative;
        height: 100%;
        z-index: 10;
    }
</style>